The function of the pineal body, or gland, within the midbrain is not fully understood. It is generally believed to be a vestigial (no longer used) sensory organ which is incompletely developed in the modern anatomy. The term "pineal" means "pine cone shaped."